package itd.newbee.mall.newbeemall.api.param;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author Administrator
 * @version 1.0
 * @description: TODO
 * @date 2025/3/11 09:31
 */
@Data
public class MallUserLoginParam implements Serializable {
//    swagger2用@apiModelProperty("登录名")
    @Schema(description = "登录名")
    @NotEmpty(message = "登录名不能为空")
    private String loginName;
    @Schema(description = "密码")
    @NotEmpty(message = "密码不能为空")
    private String passwordMd5;

}
